import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import httpRequest from './utils/httpRequest'
import 'element-ui/lib/theme-chalk/index.css'
import API from './api'
import './assets/iconfont/iconfont.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// 在main.js中全局引入
import VideoPlayer from 'vue-video-player/src';
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'
// main.js 或相应的组件文件中




Vue.use(VideoPlayer)
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(router);

Vue.use(VueAwesomeSwiper);

Vue.config.productionTip = false
Vue.prototype.$http = httpRequest // ajax请求方法
Vue.prototype.$api = API
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router, //注册router
  render: h => h(App)
})